﻿namespace SimpleInOutControl.Common
{
    public class PagingRequest<T>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public string? SortColumns { get; set; }
        /// <summary>
        /// 是否升序
        /// </summary>
        public bool IsAsc { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime {  get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 查询条件
        /// </summary>
        public T? QueryCondition { get; set; }
    }
}
